{if !$settings['is_mobile_gheader']['value']}
<style type="text/css">
	.search-content{width:100%;height:44px}
	.my-cart {
		width: 44px;
		height: 44px
	}

	.my-cart a {
		display: block;
		width: 100%;
		height: 100%
	}
	.my-cart .l_type {
		position: absolute;
		top: 0;
		left: 10px;
		margin: 12px 4px 1px;
		width: 22px;
		height: 28px;
		background: url();
		background-size: 22px 28px;
		-webkit-mask-image: none;
		pointer-events: none
	}
	.my-cart .icon {
		position: absolute;
		top: 0;
		left: 0;
		margin: 8px 4px 1px;
		width: 34px;
		height: 34px;
		{if $index_img_s_types[1][0]}
		background: url({$index_img_s_types[1][0]});
		{else}
		background: url(source/plugin/aljbd/template/touch/header/img/badd.png);
		{/if}
		background-size: 34px 34px;
		-webkit-mask-image: none;
		pointer-events: none
	}
	.my-cart .icon_dian {
		position: absolute;
		top: 0;
		left: 0;
		margin: 12px 4px 1px;
		width: 24px;
		height: 24px;
		background: url(source/plugin/$pluginid/template/touch/view/bdian.png);
		background-size: 24px 24px;
		-webkit-mask-image: none;
		pointer-events: none
	}
	.search-bar:before,.sn-search-input:before,.sn-search-top input:before {
		content: "";
		position: absolute;
		left: 14px;
		top: 16px;
		width: 14px;
		height: 16px;
		background: url();
		background-size: 14px 16px
	}
	.wbox-flex {
		-webkit-flex: 1!important;
		-webkit-box-flex: 1
	}
	.wbox {
		display: -webkit-flex!important;
		display: -webkit-box;
	}
	.class {
		display: block;
		margin: 8px 6px 2px 5px;
		width: 34px;
		height: 34px;
		background: url({if $index_img_s_types[0][0]}{$index_img_s_types[0][0]}{else}source/plugin/aljbd/template/touch/header/img/btype.png{/if});
		background-size: 34px 34px
	}
	.class_back {
		display: block;
		margin: 10px 6px 2px 5px;
		width: 28px;
		height: 28px;
		background: url(source/plugin/aljbd/template/touch/view/bdeta_06.png);
		background-size: 28px 28px
	}
	.pr {
		position: relative;
	}
	.search-bar a.new_search {
		display: block;
		position: absolute;
		height: 44px;
		width: 100%;
		z-index: 10
	}
	.search-bar form {
		height: 44px
	}
	.search-bar input {
		border: 0;
		-webkit-border-radius: 24px;
		padding: 0 4px 0 34px;
		width: 100%;
		height: 34px;
		line-height: 34px;
		background: rgba(255,255,255,0.8);
		font-size: 14px;
		color: #999;
		-webkit-appearance: none
	}
</style>
	{if !$_GET['act'] &&  $_GET['id'] != 'aljgwc'}

	<header>
		<div class="header" style="background: none;border-bottom: 0px solid #dd2726;position: absolute;z-index: 100;width:100%;">
			<div class="search-content wbox" style="position: relative; background: none;"> 
				<a class="class" name="index_none_header_syfl" href="{if $index_img_s_types[0][1]}{$index_img_s_types[0][1]}{else}plugin.php?id=aljbd&act=type&mobile=2{/if}"></a>
				<div class="wbox-flex search-bar pr"> 
					<a name="index_none_header_sysc" class="new_search" href="plugin.php?id=$pluginid&act=search"></a> 
					<form><input id="searchInput" name="index_none_header_sysc" type="text" placeholder="{if $config['m_search_default']}$config['m_search_default']{else}&#35831;&#36755;&#20837;&#24744;&#24819;&#25214;&#30340;&#21830;&#21697;&#25110;&#24215;&#38138;{/if}" autocomplete="off"></form> 
				</div> 
			<div class="my-cart pr"> 
				<div class="icon"></div>
				<a name="index_none_header_sygw" id="cartnum" href="{if $index_img_s_types[1][1]}{$index_img_s_types[1][1]}{else}plugin.php?id=aljbd&act=attend&mobile=2{/if}"></a>
			</div> 
		</div>
		</div>
	</header>
	{elseif $_GET['act'] == 'goodview' || $_GET['act'] == 'view'}
		{if $_GET['act'] == 'view'}
			<header>
				<div class="header" style="background: none;border-bottom: 0px solid #dd2726;position: absolute;z-index: 100;width:100%;">
					<div class=" wbox" style="position: relative; background: none;">
						<a class="class_back" name="index_none_header_syfl" href="javascript:;" onclick="history.go(-1);"></a>
						<div class="wbox-flex search-bar pr">
							<a name="index_none_header_sysc" class="new_search" href="plugin.php?id=$pluginid&act=view&bid=$bid&op=search"></a>
							<form><input id="searchInput" name="index_none_header_sysc" type="text" placeholder="&#24215;&#20869;&#21830;&#21697;&#25628;&#32034;" autocomplete="off"></form>
						</div>
						{if file_exists("source/plugin/aljht/aljht.inc.php")}
						<div class="my-cart pr" style="width:50px">
							<div class="l_type" ></div>
							<a href="plugin.php?id=aljbd&act=view&bid={$bid}&op=btype"></a>
						</div>
						{/if}

					</div>
				</div>
			</header>
		{else}
			<a class="w-headMenu" id="w-headMenu"></a>
		{/if}
			<link href="source/plugin/aljbd/images/sj/dian.css" type="text/css" rel="styleSheet" >

			  
	<ul class="menu-list" style="display: none;">
			  <li><a href="plugin.php?id=aljbd" class="index-link">$aljbdlang['template']['home_page']</a></li>
			  <li><a href="plugin.php?id=aljbd&act=user" class="state-link">$aljbdlang['template']['My']</a></li>
			  <li><a href="plugin.php?id=aljbd&act=dianpu" class="brand-link">$aljbdlang['template']['business']</a></li>
			  <li><a href="plugin.php?id=aljbd&act=goods" class="shop-group">$aljbdlang['template']['goods']</a></li>
			  <li><a href="plugin.php?id=aljbd&act=search" class="search-link">&#25628;&#32034;</a></li>
				{if file_exists("static/js/js_sdk20170302.js") && $_GET['act'] == 'goodview'}
				<script src="https://www.mldlm.com/static/js/js_sdk20170302.js"></script>
		<style>
			.share-link:before {
				background: url(source/plugin/aljbd/template/touch/view/images/share.png) no-repeat 50% 50%;
				-webkit-background-size: 17px 17px;
				background-size: 17px 17px;
			}
		</style>
					<li style="display:none;" id="share-link"><a href="plugin.php?id=aljbd&act=search" class="share-link" >&#20998;&#20139;</a></li>
					<script>
					if(is_kingkr_obj()){
					jq('#share-link').show();
					jq('.share-link').click(function() {
						share('share','{$g['name']}', 'https://www.mldlm.com/{$g['pic1']}', 'https://www.mldlm.com/plugin.php?id=aljbd&act=goodview&bid={$g[bid]}&gid={$g[id]}', '{$g['name']}');
					});
					}
					</script>
				{/if}
		</ul>
	<style type="text/css">

		.w-headMenu {
		border-radius: 50%;
		top: 0px;
		height: 40px;
		opacity: 0.5;
		position: fixed;
		right: 10px;
		width: 40px;
		z-index: 50;
		background: #333 url(source/plugin/$pluginid/template/touch/view/bdian.png) no-repeat center center;
		background-size: 25px;
	}
	.menu-list {  
		top: 45px;
		z-index: 51;
		right:12px;
		position: fixed;
	}
	</style>
	{/if}
{else}
<header>
    <div class="header" >
		{if $_GET['act'] || $_GET['id'] == 'aljgwc'}
		<a class="header-left" {if $_GET['act'] == 'member' || $_GET['act'] == 'yes' || $_GET['act'] == 'appointment_list' || $_GET['act'] == 'collection_list' || (!$_GET[orderid] && $_GET['act'] == 'orderlist')}href="plugin.php?id=aljbd&act=user"{else}href="javascript:;" onclick="history.go(-1);"{/if} >
            <img src="source/plugin/$pluginid/images/sj/deta_06.png" width="12/">
        </a>
		{/if}
        <p class="header-title" style="color:{if $settings['header_font_color']['value']}$settings['header_font_color']['value']{else}#333;{/if}">
		{if $_GET['act'] == 'dianpu'}
			{lang aljbd:sj_dianpu_1}
		{elseif $_GET['act'] == 'view' }
			$aljbdlang['template']['Business_details']
		{elseif $_GET['act'] == 'goodview' }
			{if $_GET['op'] == 'expose_list'}
				$aljbdlang['template']['Commodity_review']
			{elseif $_GET['op'] == 'expose_detail'}
				$aljbdlang['template']['Comment_details']
			{else}
				$aljbdlang['template']['Product_details']
			{/if}
		{elseif $_GET['act'] == 'trade' }
			$aljbdlang['template']['Commodity_purchase']
		{elseif $_GET['act'] == 'addr' }
			$aljbdlang['template']['Receipt_address']
		{elseif $_GET['act'] == 'user' }
			$aljbdlang['template']['User_center']
		{elseif $_GET['act'] == 'clist' }
			$aljbdlang['template']['Coupon_list']
		{elseif $_GET['act'] == 'nlist' }
			$aljbdlang['template']['Activity_list']
		{elseif $_GET['act'] == 'member' || $_GET['act'] == 'yes'}
			$aljbdlang['template']['Business_management']
		{elseif $_GET['act'] == 'appointment_list' }
			$aljbdlang['template']['Booking_Management']
		{elseif $_GET['act'] == 'appointment_view' }
			$aljbdlang['template']['Booking_details']
		{elseif $_GET['act'] == 'collection_list' }
			$aljbdlang['template']['Collection_management']
		{elseif $_GET['act'] == 'goodslist' }
			$aljbdlang['template']['Commodity_management']
		{elseif $_GET['act'] == 'orderlist' }
			$aljbdlang['template']['Order_management']
		{elseif $_GET['act'] == 'settlelist' }
			$aljbdlang['template']['Settlement_management']
		{elseif $_GET['act'] == 'settle' }
			$aljbdlang['template']['Application_for_settlement']
		{elseif $_GET['act'] == 'noticelist' }
			$aljbdlang['template']['Activity_management']
		{elseif $_GET['act'] == 'consumelist' }
			$aljbdlang['template']['Coupon_management']
		{elseif $_GET['act'] == 'consumeview' }
			$aljbdlang['template']['Coupon_details']
		{elseif $_GET['act'] == 'noticeview' }
			$aljbdlang['template']['Event_details']
		{elseif $_GET['act'] == 'albumview' }
			$aljbdlang['template']['Photo_album']
		{elseif $_GET['act'] == 'cart_pay' }
			$aljbdlang['template']['Confirm_the_payment']
		{elseif $_GET['act'] == 'buy' }
			$aljbdlang['template']['Buy_immediately']
		{elseif $_GET['act'] == 'fl' }
			$aljbdlang['template']['Classification_list']
		{elseif $_GET['act'] == 'dq' }
			$aljbdlang['template']['Area_list']
		{elseif $_GET['act'] == 'comment' }
			$aljgwclang['template']['Comment_commodity']
		{elseif $_GET['act'] == 'addresslist' }
			&#25910;&#36135;&#22320;&#22336;
		{elseif $_GET['act'] == 'editaddress' }
			&#28155;&#21152;&#22320;&#22336;
		{elseif $_GET['act'] == 'wuliu' }
			&#21457;&#36135;
		{elseif $_GET['act'] == 'viewaddr' }
			&#25910;&#36135;&#22320;&#22336;
		{elseif $_GET['act'] == 'dianping' }
			$aljbdlang['template']['Comment_merchant']
		{elseif $_GET['act'] == 'goods' }
			{lang aljbd:sj_list_goods_1}
		{elseif $_GET['act'] == 'alist' }
			{lang aljbd:view_header_2}
		{elseif $_GET['act'] == 'attend' || $_GET['act'] == 'edit'}
			{if $_GET['act']=='attend'}{lang aljbd:adddp_1}{else}{lang aljbd:adddp_2}{/if}
		{elseif $_GET['act'] == 'addgoods' || $_GET['act'] == 'editgoods'}
			{if $_GET['act']=='addgoods'}{lang aljbd:s281}{else}{lang aljbd:s282}{/if}
		{elseif $_GET['act'] == 'addconsume' || $_GET['act'] == 'editconsume'}
			{if $_GET['act']=='addconsume'}{lang aljbd:addconsume_1}{else}{lang aljbd:addconsume_2}{/if} 
		{elseif $_GET['act'] == 'addnotice' || $_GET['act'] == 'editnotice'}
			{if $_GET['act']=='addnotice'}{lang aljbd:addnotice_1}{else}{lang aljbd:addnotice_2}{/if}
		{elseif !$_GET['act']}
			{if $_GET['id'] == 'aljgwc'}
				&#36141;&#29289;&#36710;
			{else}
            <a href="plugin.php?id=aljbd" style="color:{if $settings['header_font_color']['value']}$settings['header_font_color']['value']{else}#333;{/if}">$config['aljbd_plugins']</a>
			{/if}
		{/if}
        </p>
		{if $_GET['act'] == 'goodview' || $_GET['act'] == 'view' || $_GET['act'] == 'buy'}
		<div class="header-right">
				<link href="source/plugin/aljbd/images/sj/dian.css" type="text/css" rel="styleSheet" >
          <a class="w-headMenu" id="w-headMenu"></a>
		  
			</div>
		{elseif $_GET['act'] == 'dianpu' || $_GET['act'] == 'goods' || !$_GET['act']}
			<div class="header-right">
				<a class="w-headMenu" href="plugin.php?id=aljbd&act=search"><img src="source/plugin/aljbd/images/sj/search_v.png" width=20/></a>
			</div>
		{/if}
    </div>
	<ul class="menu-list" style="display: none;">
          <li><a href="plugin.php?id=aljbd" class="index-link">$aljbdlang['template']['home_page']</a></li>
          <li><a href="plugin.php?id=aljbd&act=user" class="state-link">$aljbdlang['template']['My']</a></li>
          <li><a href="plugin.php?id=aljbd&act=dianpu" class="brand-link">$aljbdlang['template']['business']</a></li>
          <li><a href="plugin.php?id=aljbd&act=goods" class="shop-group">$aljbdlang['template']['goods']</a></li>
          <li><a href="plugin.php?id=aljbd&act=search" class="search-link">&#25628;&#32034;</a></li>
	</ul>
</header>
{/if}
<style type="text/css">
	.aljbd_ad img{width:100%}
	* {
		-webkit-tap-highlight-color: transparent;
	}
</style>